class Solution(object):
    def missingNumber(self, nums):
        """
        :type nums: List[int]
        :rtype: int
        """
        count = len(nums)
        sumV = (0 + count ) * (count + 1) / 2
        for i in range(count) :
            sumV -= nums[i]
        return sumV